package com.coding.dao;

import com.coding.pojo.Mileage;

import java.util.List;

public interface MileageDao {
    int deleteByPrimaryKey(Integer mileageId);

    int insert(Mileage record);

    int insertSelective(Mileage record);

    List<Mileage> selectByUser(int user_id);

    Mileage selectByPrimaryKey(Integer mileageId);

    int updateByPrimaryKeySelective(Mileage record);

    int updateByPrimaryKey(Mileage record);
}